{include 'header.tpl'}
{*<div>
    添加收货地址人数：{$result.count}
</div>*}
<div class="clearfix" style="height:30px;"></div>
<table class="table" style="table-layout: fixed;WORD-BREAK: break-all; WORD-WRAP: break-word">
    <tr>
        <td>UID</td>
        <td>用户昵称</td>
        <td>类型</td>
        <td>日期</td>
        <td>ip</td>
        <td>地址(IP)</td>
        <td>收货地址</td>
        <td>距离(KM)</td>
        <td>是否添加收货地址</td>
    </tr>
    {foreach from=$dataList item=item}
        <tr>
            <td>{$item.uid}</td>
            <td>{$item.username}</td>
            <td>{$item.type_text}</td>
            <td>{$item.date}</td>
            <td><a target="_blank" href="https://www.baidu.com/s?wd={$item.ip}">{$item.ip}</a></td>
            <td>{$item.address}</td>
            <td>{$item.add}</td>
            <td>{$item.remark}</td>
            <td data-addressNum="{$item.addressNum}">
                {if $item.addressNum}
                    <span style="color: green">是</span>
                {else}
                    <span style="color: red">否</span>
                {/if}
            </td>
        </tr>
    {/foreach}
</table>
{include "pager.tpl"}
<script type="text/javascript">
    $(function () {
        create_date_picker();
    });
</script>
{include 'footer.tpl'}